import request from '@/utils/request'

// QA分类列表
export function typeLists(params?: Record<string, any>) {
    return request.get({ url: '/type/list', params })
}

// QA分类详情
export function typeDetail(params: Record<string, any>) {
    return request.get({ url: '/type/detail', params })
}

// QA分类新增
export function typeAdd(params: Record<string, any>) {
    return request.post({ url: '/type/add', params })
}

// QA分类编辑
export function typeEdit(params: Record<string, any>) {
    return request.post({ url: '/type/edit', params })
}

// QA分类删除
export function typeDelete(params: Record<string, any>) {
    return request.post({ url: '/type/del', params })
}
